package com.mentaleye.dal.service;

import com.mentaleye.dal.model.TradesRecord;
import com.mentaleye.dal.model.TradesRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TradesRecordMapper {
    int countByExample(TradesRecordExample example);

    int deleteByExample(TradesRecordExample example);

    int deleteByPrimaryKey(String trxOrderNo);

    int insert(TradesRecord record);

    int insertSelective(TradesRecord record);

    List<TradesRecord> selectByExample(TradesRecordExample example);

    TradesRecord selectByPrimaryKey(String trxOrderNo);

    int updateByExampleSelective(@Param("record") TradesRecord record, @Param("example") TradesRecordExample example);

    int updateByExample(@Param("record") TradesRecord record, @Param("example") TradesRecordExample example);

    int updateByPrimaryKeySelective(TradesRecord record);

    int updateByPrimaryKey(TradesRecord record);

    TradesRecord selectByTrxNo(String trxNo);
}